<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATECCore/ATVecfuncs.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_b036ea399c584d2b2a32165352c4a594.html">ATECCore</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ATVecfuncs.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d4/d49/_a_t_vecfuncs_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#a74ba203cda16eb4e440afd64ca9a18c2">   21</a></span>ATECCORE_EXPORTED <span class="keywordtype">int</span>      <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#a74ba203cda16eb4e440afd64ca9a18c2">atVec_intersect</a></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>(</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>    ATEC_NAMESPACE_NAME::XPoint3dP intercept,</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span>    ATEC_NAMESPACE_NAME::XSegment3dCP l1,</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>    ATEC_NAMESPACE_NAME::XSegment3dCP l2</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>);</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#a2aee64ab37ead0002c65bb8588c714c5">   42</a></span>ATECCORE_EXPORTED <span class="keywordtype">int</span> <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#a2aee64ab37ead0002c65bb8588c714c5">atVec_projectPointToLineInView</a></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>(</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>    ATEC_NAMESPACE_NAME::XPoint3dP   projectedPoint,</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>    ATEC_NAMESPACE_NAME::XPoint3dCP  pntOnLine,</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>    ATEC_NAMESPACE_NAME::XPoint3dCP  lineNormal,</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>    ATEC_NAMESPACE_NAME::XPoint3dCP  pntP,</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>    <span class="keywordtype">int</span>         view,</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>    <span class="keywordtype">bool</span>        useConstruction</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>);</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#a521ce903835baf255cc2aa93c3f6d9e0">   68</a></span>ATECCORE_EXPORTED <span class="keywordtype">int</span> <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#a521ce903835baf255cc2aa93c3f6d9e0">atVec_projectPointToPlaneInView</a></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>(</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>    ATEC_NAMESPACE_NAME::XPoint3dP   projectedPoint,</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>    ATEC_NAMESPACE_NAME::XPoint3dCP  pntOnPlane,</div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>    ATEC_NAMESPACE_NAME::XPoint3dCP    planeNormal,</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span>    ATEC_NAMESPACE_NAME::XPoint3dCP  pntP,</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>    <span class="keywordtype">int</span>         view,</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>    <span class="keywordtype">bool</span>        useConstruction</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>);</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#aa925009325d5fb0e5debe123508749fb">   89</a></span>ATECCORE_EXPORTED <span class="keywordtype">double</span> <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#aa925009325d5fb0e5debe123508749fb">atVec_computeNormal</a>(ATEC_NAMESPACE_NAME::XPoint3dP unitVectorP, ATEC_NAMESPACE_NAME::XPoint3dCP targetP, ATEC_NAMESPACE_NAME::XPoint3dCP baseP);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#afbe554da05857b99ce579d945f9d8948">  100</a></span>ATECCORE_EXPORTED <span class="keywordtype">double</span>   <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#afbe554da05857b99ce579d945f9d8948">atVec_normalize</a></div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>(</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>    ATEC_NAMESPACE_NAME::XPoint3dP vectorP</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>);</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span> </div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#a993fad337a39daa6dd60ad17b8d17ab4">  114</a></span>ATECCORE_EXPORTED <span class="keywordtype">double</span> <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#a993fad337a39daa6dd60ad17b8d17ab4">atVec_normalize2</a></div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>(</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>    ATEC_NAMESPACE_NAME::XPoint3dP vectorP</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>);</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span> </div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#aac1f9ea53952f075037a7232175dedb4">  131</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span> <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#aac1f9ea53952f075037a7232175dedb4">atVec_projectPointToPlane</a></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno">  132</span>(</div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno">  133</span>    ATEC_NAMESPACE_NAME::XPoint3dP  outPointP,</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span>    ATEC_NAMESPACE_NAME::XPoint3dCP inPpntP,</div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span>    ATEC_NAMESPACE_NAME::XPoint3dCP planePointP,</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span>    ATEC_NAMESPACE_NAME::XPoint3dCP normalP</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span>);</div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span> </div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#a087e9b826439121f7dd6490c49ae8a26">  150</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span> <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#a087e9b826439121f7dd6490c49ae8a26">atVec_crossProduct</a></div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span>(</div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span>    ATEC_NAMESPACE_NAME::XPoint3dP pCrossProduct,</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span>    ATEC_NAMESPACE_NAME::XPoint3dCP pVector1,</div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span>    ATEC_NAMESPACE_NAME::XPoint3dCP pVector2</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span>);</div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span> </div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#a490a11ad0edaff20350d0da1a4aaa120">  167</a></span>ATECCORE_EXPORTED <span class="keywordtype">double</span> <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#a490a11ad0edaff20350d0da1a4aaa120">atVec_dotProduct</a></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno">  168</span>(</div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span>    ATEC_NAMESPACE_NAME::XPoint3dCP pVector1,</div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span>    ATEC_NAMESPACE_NAME::XPoint3dCP pVector2</div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span>);</div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span> </div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#aa63398163a2d40006c4ec3d497735f65">  182</a></span>ATECCORE_EXPORTED <span class="keywordtype">double</span> <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#aa63398163a2d40006c4ec3d497735f65">atVec_magnitude</a></div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span>(</div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno">  184</span>    ATEC_NAMESPACE_NAME::XPoint3dCP pVector</div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno">  185</span>);</div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno">  186</span> </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#a9bad4c006e02145cd64b1c259dbec3e9">  198</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span> <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#a9bad4c006e02145cd64b1c259dbec3e9">atVec_scale</a></div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno">  199</span>(</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno">  200</span>    ATEC_NAMESPACE_NAME::XPoint3dP pScaledVector,</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span>    ATEC_NAMESPACE_NAME::XPoint3dCP Vector,</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno">  202</span>    <span class="keywordtype">double</span> scale</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span>);</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span> </div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#a54eba104aa5750305f94d6bf0897014f">  216</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span> <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#a54eba104aa5750305f94d6bf0897014f">atVec_subtractXPoint3dXPoint3d</a></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span>(</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span>    ATEC_NAMESPACE_NAME::XPoint3dP pVector,</div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span>    ATEC_NAMESPACE_NAME::XPoint3dCP pTarget,</div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span>    ATEC_NAMESPACE_NAME::XPoint3dCP pBase</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno">  221</span>);</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno">  222</span> </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#abf1586d973afaa73a0f770625a4f80bb">  233</a></span>ATECCORE_EXPORTED <span class="keywordtype">double</span> <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#abf1586d973afaa73a0f770625a4f80bb">atVec_distance</a></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span>(</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span>    ATEC_NAMESPACE_NAME::XPoint3dCP pnt1P,</div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span>    ATEC_NAMESPACE_NAME::XPoint3dCP pnt2P</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span>);</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span> </div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#a7890c8d8f79934a9d24266e8ddff9082">  251</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span>     <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#a7890c8d8f79934a9d24266e8ddff9082">atVec_projectPoint</a></div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno">  252</span>(</div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno">  253</span>    ATEC_NAMESPACE_NAME::XPoint3dP sumP,</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno">  254</span>    ATEC_NAMESPACE_NAME::XPoint3dCP originP,</div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno">  255</span>    ATEC_NAMESPACE_NAME::XPoint3dCP inVectorP,</div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno">  256</span>    <span class="keywordtype">double</span> scale</div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno">  257</span>);</div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span> </div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"><a class="line" href="../../d4/d49/_a_t_vecfuncs_8h.html#a80793e953b0a1039ae4442ecfea5d955">  270</a></span>ATECCORE_EXPORTED <span class="keywordtype">void</span>     <a class="code hl_function" href="../../d4/d49/_a_t_vecfuncs_8h.html#a80793e953b0a1039ae4442ecfea5d955">atVec_subtractPoint</a></div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span>(</div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span>    ATEC_NAMESPACE_NAME::XPoint3dP differenceP,</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno">  273</span>    ATEC_NAMESPACE_NAME::XPoint3dCP targetP,</div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span>    ATEC_NAMESPACE_NAME::XPoint3dCP baseP</div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno">  275</span>);</div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno">  276</span> </div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_a087e9b826439121f7dd6490c49ae8a26"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#a087e9b826439121f7dd6490c49ae8a26">atVec_crossProduct</a></div><div class="ttdeci">ATECCORE_EXPORTED void atVec_crossProduct(ATEC_NAMESPACE_NAME::XPoint3dP pCrossProduct, ATEC_NAMESPACE_NAME::XPoint3dCP pVector1, ATEC_NAMESPACE_NAME::XPoint3dCP pVector2)</div><div class="ttdoc">计算向量叉积</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_a2aee64ab37ead0002c65bb8588c714c5"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#a2aee64ab37ead0002c65bb8588c714c5">atVec_projectPointToLineInView</a></div><div class="ttdeci">ATECCORE_EXPORTED int atVec_projectPointToLineInView(ATEC_NAMESPACE_NAME::XPoint3dP projectedPoint, ATEC_NAMESPACE_NAME::XPoint3dCP pntOnLine, ATEC_NAMESPACE_NAME::XPoint3dCP lineNormal, ATEC_NAMESPACE_NAME::XPoint3dCP pntP, int view, bool useConstruction)</div><div class="ttdoc">在某视图中通过给定点和方向投影点到直线上</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_a490a11ad0edaff20350d0da1a4aaa120"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#a490a11ad0edaff20350d0da1a4aaa120">atVec_dotProduct</a></div><div class="ttdeci">ATECCORE_EXPORTED double atVec_dotProduct(ATEC_NAMESPACE_NAME::XPoint3dCP pVector1, ATEC_NAMESPACE_NAME::XPoint3dCP pVector2)</div><div class="ttdoc">计算向量点积</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_a521ce903835baf255cc2aa93c3f6d9e0"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#a521ce903835baf255cc2aa93c3f6d9e0">atVec_projectPointToPlaneInView</a></div><div class="ttdeci">ATECCORE_EXPORTED int atVec_projectPointToPlaneInView(ATEC_NAMESPACE_NAME::XPoint3dP projectedPoint, ATEC_NAMESPACE_NAME::XPoint3dCP pntOnPlane, ATEC_NAMESPACE_NAME::XPoint3dCP planeNormal, ATEC_NAMESPACE_NAME::XPoint3dCP pntP, int view, bool useConstruction)</div><div class="ttdoc">在某视图中计算点到平面的投影点</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_a54eba104aa5750305f94d6bf0897014f"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#a54eba104aa5750305f94d6bf0897014f">atVec_subtractXPoint3dXPoint3d</a></div><div class="ttdeci">ATECCORE_EXPORTED void atVec_subtractXPoint3dXPoint3d(ATEC_NAMESPACE_NAME::XPoint3dP pVector, ATEC_NAMESPACE_NAME::XPoint3dCP pTarget, ATEC_NAMESPACE_NAME::XPoint3dCP pBase)</div><div class="ttdoc">计算Point1 - Point2</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_a74ba203cda16eb4e440afd64ca9a18c2"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#a74ba203cda16eb4e440afd64ca9a18c2">atVec_intersect</a></div><div class="ttdeci">ATECCORE_EXPORTED int atVec_intersect(ATEC_NAMESPACE_NAME::XPoint3dP intercept, ATEC_NAMESPACE_NAME::XSegment3dCP l1, ATEC_NAMESPACE_NAME::XSegment3dCP l2)</div><div class="ttdoc">计算两条无限长直线的交点</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_a7890c8d8f79934a9d24266e8ddff9082"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#a7890c8d8f79934a9d24266e8ddff9082">atVec_projectPoint</a></div><div class="ttdeci">ATECCORE_EXPORTED void atVec_projectPoint(ATEC_NAMESPACE_NAME::XPoint3dP sumP, ATEC_NAMESPACE_NAME::XPoint3dCP originP, ATEC_NAMESPACE_NAME::XPoint3dCP inVectorP, double scale)</div><div class="ttdoc">计算sumP = originP + vectorP * scale</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_a80793e953b0a1039ae4442ecfea5d955"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#a80793e953b0a1039ae4442ecfea5d955">atVec_subtractPoint</a></div><div class="ttdeci">ATECCORE_EXPORTED void atVec_subtractPoint(ATEC_NAMESPACE_NAME::XPoint3dP differenceP, ATEC_NAMESPACE_NAME::XPoint3dCP targetP, ATEC_NAMESPACE_NAME::XPoint3dCP baseP)</div><div class="ttdoc">计算targetP - baseP</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_a993fad337a39daa6dd60ad17b8d17ab4"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#a993fad337a39daa6dd60ad17b8d17ab4">atVec_normalize2</a></div><div class="ttdeci">ATECCORE_EXPORTED double atVec_normalize2(ATEC_NAMESPACE_NAME::XPoint3dP vectorP)</div><div class="ttdoc">原地单位化向量并进行调整，即单位化后检查x、y、z分量的值，当其中某值为正负1（1.0e-8的容差）时，将其他分量的值置为0</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_a9bad4c006e02145cd64b1c259dbec3e9"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#a9bad4c006e02145cd64b1c259dbec3e9">atVec_scale</a></div><div class="ttdeci">ATECCORE_EXPORTED void atVec_scale(ATEC_NAMESPACE_NAME::XPoint3dP pScaledVector, ATEC_NAMESPACE_NAME::XPoint3dCP Vector, double scale)</div><div class="ttdoc">缩放向量</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_aa63398163a2d40006c4ec3d497735f65"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#aa63398163a2d40006c4ec3d497735f65">atVec_magnitude</a></div><div class="ttdeci">ATECCORE_EXPORTED double atVec_magnitude(ATEC_NAMESPACE_NAME::XPoint3dCP pVector)</div><div class="ttdoc">计算向量的长度</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_aa925009325d5fb0e5debe123508749fb"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#aa925009325d5fb0e5debe123508749fb">atVec_computeNormal</a></div><div class="ttdeci">ATECCORE_EXPORTED double atVec_computeNormal(ATEC_NAMESPACE_NAME::XPoint3dP unitVectorP, ATEC_NAMESPACE_NAME::XPoint3dCP targetP, ATEC_NAMESPACE_NAME::XPoint3dCP baseP)</div><div class="ttdoc">计算单位向量</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_aac1f9ea53952f075037a7232175dedb4"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#aac1f9ea53952f075037a7232175dedb4">atVec_projectPointToPlane</a></div><div class="ttdeci">ATECCORE_EXPORTED void atVec_projectPointToPlane(ATEC_NAMESPACE_NAME::XPoint3dP outPointP, ATEC_NAMESPACE_NAME::XPoint3dCP inPpntP, ATEC_NAMESPACE_NAME::XPoint3dCP planePointP, ATEC_NAMESPACE_NAME::XPoint3dCP normalP)</div><div class="ttdoc">投影点到平面上</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_abf1586d973afaa73a0f770625a4f80bb"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#abf1586d973afaa73a0f770625a4f80bb">atVec_distance</a></div><div class="ttdeci">ATECCORE_EXPORTED double atVec_distance(ATEC_NAMESPACE_NAME::XPoint3dCP pnt1P, ATEC_NAMESPACE_NAME::XPoint3dCP pnt2P)</div><div class="ttdoc">计算两点距离</div></div>
<div class="ttc" id="a_a_t_vecfuncs_8h_html_afbe554da05857b99ce579d945f9d8948"><div class="ttname"><a href="../../d4/d49/_a_t_vecfuncs_8h.html#afbe554da05857b99ce579d945f9d8948">atVec_normalize</a></div><div class="ttdeci">ATECCORE_EXPORTED double atVec_normalize(ATEC_NAMESPACE_NAME::XPoint3dP vectorP)</div><div class="ttdoc">原地单位化向量</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
